package community.hospital.service.application;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import community.hospital.common.BaseRemove;
import community.hospital.entity.request.ScheduleRequest;
import community.hospital.entity.request.ListScheduleRequest;
import community.hospital.entity.response.ScheduleResponse;

import java.time.LocalDate;
import java.util.List;

/**
 * @author yindingjie
 */
public interface ScheduleApplicationService {
    ScheduleResponse querySchedule(Long id);

    Page<ScheduleResponse> listSchedule(ListScheduleRequest request);

    Boolean addOrUpdateSchedule(ScheduleRequest request);


    Boolean removeSchedule(List<Long> ids);

    ScheduleResponse querySchedule(Long doctorId, LocalDate localDate);



}
